﻿/****************************************************************
*   作者：qq918
*   创建时间：2018/2/2 15:25:40
*   描述说明：
*****************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
  public class Equipment : ItemEntity
  {
    /// <summary>
    /// 力量
    /// </summary>
    public int Strength { get; set; }
    /// <summary>
    /// 智力
    /// </summary>
    public int Intellect { get; set; }
    /// <summary>
    /// 敏捷
    /// </summary>
    public int Agility { get; set; }
    /// <summary>
    /// 体力
    /// </summary>
    public int Stamina { get; set; }
    /// <summary>
    /// 装备类型
    /// </summary>
    public EquipType EquipType { get; set; }

    public override string ToString()
    {
      return string.Format("{0}\n{1}\n\n力量：{2}\n智力：{3}\n敏捷：{4}\n体力：{5}", this.Name, this.Description, this.Strength, this.Intellect, this.Agility, this.Stamina);
    }
  }
}
